package com.hfzy.ihk.facade.ivr.entity;

import java.util.Date;

/**
 * Created by Administrator on 2016/5/24.
 * 小号，E1 固话与 员工其手机，固话对应关系
 * 用于回拨时动态转接号码
 */
public class NumBinding extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private int zyUserId; //置业员工ID

    private Boolean isActive; //是否在线；置业加一个功能：允许营业员设置我在线，下线。该标志独立提供一个访问接口

    private String myPhone; //我的手机号

    private String myTelno; //我的固话

    //这些号码与 NumResource 的useWay有对应关系
    private String eNum1; //E1 固话1
    private String eNum2; //E1 固话2
    private String telecomPhone1; // 福建电信小号1
    private String telecomPhone2; // 福建电信小号2

    private Boolean valid; //是否有效。员工离职时，valid=false

    private Date leaveDate; //离职日期

    private int managerId; //上级ID

    private int groupId; //组别id

    private Date bindTime;

    private String enrollNumber;

    private int city; //1广州 2东莞 3佛山

    public Date getLeaveDate() {
        return leaveDate;
    }

    public void setLeaveDate(Date leaveDate) {
        this.leaveDate = leaveDate;
    }

    public int getZyUserId() {
        return zyUserId;
    }

    public void setZyUserId(int zyUserId) {
        this.zyUserId = zyUserId;
    }

    public Boolean getActive() {
        return isActive;
    }

    public void setActive(Boolean active) {
        isActive = active;
    }

    public String getMyPhone() {
        return myPhone;
    }

    public void setMyPhone(String myPhone) {
        this.myPhone = myPhone;
    }

    public String getMyTelno() {
        return myTelno;
    }

    public void setMyTelno(String myTelno) {
        this.myTelno = myTelno;
    }

    public String geteNum1() {
        return eNum1;
    }

    public void seteNum1(String eNum1) {
        this.eNum1 = eNum1;
    }

    public String geteNum2() {
        return eNum2;
    }

    public void seteNum2(String eNum2) {
        this.eNum2 = eNum2;
    }

    public String getTelecomPhone1() {
        return telecomPhone1;
    }

    public void setTelecomPhone1(String telecomPhone1) {
        this.telecomPhone1 = telecomPhone1;
    }

    public String getTelecomPhone2() {
        return telecomPhone2;
    }

    public void setTelecomPhone2(String telecomPhone2) {
        this.telecomPhone2 = telecomPhone2;
    }

    public Boolean getValid() {
        return valid;
    }

    public void setValid(Boolean valid) {
        this.valid = valid;
    }

    public int getManagerId() {
        return managerId;
    }

    public void setManagerId(int managerId) {
        this.managerId = managerId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public Date getBindTime() {
        return bindTime;
    }

    public void setBindTime(Date bindTime) {
        this.bindTime = bindTime;
    }

    public int getCity() {
        return city;
    }

    public void setCity(int city) {
        this.city = city;
    }

    public String getEnrollNumber() {
        return enrollNumber;
    }

    public void setEnrollNumber(String enrollNumber) {
        this.enrollNumber = enrollNumber;
    }
}
